cmake_minimum_required(VERSION 3.0.0)
project(assembler VERSION 0.1.0 LANGUAGES C CXX)

include(CTest)
enable_testing()

include_directories(${PROJECT_SOURCE_DIR}/include)#添加头文件的搜索路径
aux_source_directory(./src SRC_FILES)

aux_source_directory (. SRC_LIST)

add_executable(assembler main.cpp ${SRC_FILES} ${SRC_LIST})

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)


